<div class="content__title">
    <nz-collapse>
        <nz-collapse-panel nzHeader="所有请假申请列表" nzActive=true nzShowArrow=false>
            <nz-table [nzScroll]="{x:'1300px'}" #borderedTable nzBordered [nzData]="dataSet" [nzShowTotal]="totalTemplate">
                <thead>
                    <tr>
                        <th nzWidth="140px">编号</th>
                        <th>所属部门</th>
                        <th nzWidth="80px">类别</th>
                        <th>实际开始时间</th>
                        <th>实际结束时间</th>
                        <th>请假净工时</th>
                        <th>流程</th>
                        <th>审核阶段</th>
                        <th nzWidth="80px">提交人</th>
                        <th>提交时间</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr *ngFor="let data of borderedTable.data">
                        <td>{{data.id}}</td>
                        <td>{{data.depertement}}</td>
                        <td>{{data.type}}</td>
                        <td>{{data.shijistarttime}}</td>
                        <td>{{data.shijiendtime}}</td>
                        <td>{{data.leavealltime}}</td>
                        <td>
                            <nz-tooltip [nzPlacement]="'right'">
                                <span nz-tooltip>{{data.liucheng}}</span>
                                <ng-template #nzTemplate>
                                    <span>本项目流程（粗体为必须岗位）：<br><b>申请人</b><br>  ↓<br><b>综合部</b><br>  ↓<br><b>副总经理</b><br>  ↓<br><b>总经理</b><br>  ↓<br><b>经办人</b></span>
                                </ng-template>
                            </nz-tooltip>
                        </td>
                        <td>{{data.shjd}}</td>
                        <td>{{data.tjr}}</td>
                        <td>{{data.tjtime}}</td>
                        <td>
                            <button nz-button [nzSize]="'small'" nzType="primary">审核</button>
                        </td>
                    </tr>
                </tbody>
            </nz-table>
            <ng-template #totalTemplate let-total let-range="range">
                显示条目 {{range[0]}}-{{range[1]}} 共 {{total}} 条数据
            </ng-template>
        </nz-collapse-panel>
    </nz-collapse>
</div>